package models;

import javax.persistence.*;
import play.db.jpa.Model;

@Entity
public class Meal extends Model {
	
	@ManyToOne
	public Restaurant restaurant;
	public String category;
	public String title;
	
	@Lob
	public String description;
	public float price;
	
	public Meal(Restaurant restaurant, String category, String title,
			String description, float price) {
		super();
		this.restaurant = restaurant;
		this.category = category;
		this.title = title;
		this.description = description;
		this.price = price;
	}
	

}
